﻿<?xml version="1.0" encoding="utf-8"?>
<element name="Файл" description="Файл обмена">
  <element name="Документ" description="Состав и структура документа">
    <attribute name="КПП" description="КПП">
      <type base="string" description="Значение должно быть корректным КПП длиной 9 знаков">
        <length value="9" />
        <pattern value="([0-9]{1}[1-9]{1}|[1-9]{1}[0-9]{1})([0-9]{2})([0-9A-Z]{2})([0-9]{3})" />
      </type>
    </attribute>
    <attribute name="Значение1">
      <type base="decimal" />
    </attribute>
    <attribute name="Значение2">
      <type base="decimal" />
    </attribute>
    <attribute name="Значение3">
      <type base="decimal" />
    </attribute>
  </element>
</element>
